public class PoolPuzzleOne {
    public static void main(String[] arg) {
        int x = 0;

        while (x < 4) {
            if(x < 1) {
                System.out.print("a");
            }
            System.out.print("n");
            if(x > 1){
                System.out.print("oyster ");
                x = x + 2;
            }
            if(x == 1){
                System.out.print("noys ");
            }
            if(x < 1){
                System.out.print("oise");
                x = x - 2;
            }
                System.out.print("");

                x = x + 1;
        }
    }
}
